﻿using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.WebControls.WebParts;
using Eneta.Portal.Common;

namespace Eneta.Portal.Profiles
{
    [Guid("d2d9b2b5-39d4-4550-a318-4ec3211dbd42")]
    public class RegisteredUsersWebPart : WebPart
    {
        protected override void CreateChildControls()
        {
            base.CreateChildControls();
            try
            {
                var users = Page.LoadControl("~/_controltemplates/Users.ascx");
                Controls.Add(users);
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
            }
        }
        public override void RenderBeginTag(HtmlTextWriter writer)
        {

        }
        public override void RenderEndTag(HtmlTextWriter writer)
        {

        }
    }
}
